package splashactivity;

import loginactivity.LoginActivity;

import com.ronipl.createtabs.R;
import com.ronipl.createtabs.R.layout;
import com.ronipl.formalisticsv2.MainActivity;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.os.Handler;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.TextView;

public class SplashActivity extends Activity {
	
	//splash screen timer
	public static int SPLASH_TIME_OUT = 4000;
	
	Context context;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_splash);
		
		new Handler().postDelayed(new Runnable(){

			@Override
			public void run() {
								
				Intent i = new Intent(SplashActivity.this, LoginActivity.class);
				startActivity(i);
				finish();
				
			}
			
		}, SPLASH_TIME_OUT);
		
		
		
		
	}
}
